package com.aaa.common.entity.home;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (TbLink)实体类
 *
 * @author makejava
 * @since 2022-12-08 01:01:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_link")
public class TbLink implements Serializable {
    private static final long serialVersionUID = 485985641884041425L;
    @TableId
    private String linkId;
    
    private String linkUrl;
    
    private String linkName;
    
    private Integer isDisable;
    
    private Integer isDeleted;
    
    private LocalDateTime gmtCreate;
    
    private LocalDateTime gmtModified;

    public TbLink(String linkId, Integer isDisable) {
        this.linkId = linkId;
        this.isDisable = isDisable;
    }

    public TbLink(String linkUrl, String linkName, Integer isDisable, Integer isDeleted, LocalDateTime gmtCreate, LocalDateTime gmtModified) {
        this.linkUrl = linkUrl;
        this.linkName = linkName;
        this.isDisable = isDisable;
        this.isDeleted = isDeleted;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }
}

